{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "source": [
    "import os"
   ],
   "outputs": [],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "source": [
    "import numpy as np"
   ],
   "outputs": [],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "source": [
    "sys_dir = 'E:\\\\LBOS_img'\r\n",
    "sea_cov_dir = 'sea_cov.npy'\r\n",
    "sky_cov_dir = 'sky_cov.npy'\r\n",
    "sea_mean_dir = 'sea_mean.npy'\r\n",
    "sky_mean_dir = 'sky_mean.npy'"
   ],
   "outputs": [],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "source": [
    "sea_cov = np.load(os.path.join(sys_dir, sea_cov_dir))\r\n",
    "sky_cov = np.load(os.path.join(sys_dir, sky_cov_dir))\r\n",
    "sea_mean = np.load(os.path.join(sys_dir, sea_mean_dir))\r\n",
    "sky_mean = np.load(os.path.join(sys_dir, sky_mean_dir))"
   ],
   "outputs": [],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "source": [
    "print(sea_cov)"
   ],
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "[[[ 1.02050114e-03  4.76079736e-04 -1.48608944e-03  1.61025032e-04\n",
      "    3.34286003e-04]\n",
      "  [ 4.76079736e-04  6.32513018e-02  2.02358852e-03 -1.89580805e-03\n",
      "   -2.91461880e-03]\n",
      "  [-1.48608944e-03  2.02358852e-03  1.22851009e-02  1.94386955e-04\n",
      "   -5.68775208e-04]\n",
      "  [ 1.61025032e-04 -1.89580805e-03  1.94386955e-04  3.82824501e-04\n",
      "    1.49447711e-04]\n",
      "  [ 3.34286003e-04 -2.91461880e-03 -5.68775208e-04  1.49447711e-04\n",
      "    4.76500986e-04]]\n",
      "\n",
      " [[ 1.68483632e-03  3.11877220e-04 -1.03614507e-03  1.48677785e-04\n",
      "   -4.05102032e-04]\n",
      "  [ 3.11877220e-04  3.39960657e-02 -2.13280065e-03  2.53337265e-04\n",
      "    6.29953964e-05]\n",
      "  [-1.03614507e-03 -2.13280065e-03  1.36769947e-02 -1.09597096e-03\n",
      "    5.46986819e-05]\n",
      "  [ 1.48677785e-04  2.53337265e-04 -1.09597096e-03  2.01136237e-03\n",
      "    5.32008847e-06]\n",
      "  [-4.05102032e-04  6.29953964e-05  5.46986819e-05  5.32008847e-06\n",
      "    5.09031626e-04]]\n",
      "\n",
      " [[ 4.53266990e-03 -6.30528047e-04  5.20834046e-03 -3.44911343e-04\n",
      "   -1.29445329e-04]\n",
      "  [-6.30528047e-04  1.18522349e-01  1.57173586e-02 -1.24857569e-03\n",
      "   -3.27014768e-05]\n",
      "  [ 5.20834046e-03  1.57173586e-02  5.49090681e-02 -1.45307023e-03\n",
      "   -3.21194442e-04]\n",
      "  [-3.44911343e-04 -1.24857569e-03 -1.45307023e-03  3.59782156e-03\n",
      "    2.54472252e-04]\n",
      "  [-1.29445329e-04 -3.27014768e-05 -3.21194442e-04  2.54472252e-04\n",
      "    9.76140999e-04]]\n",
      "\n",
      " [[ 1.22422871e-02  1.49349450e-03  1.91195569e-03 -1.81138213e-03\n",
      "    8.63441084e-04]\n",
      "  [ 1.49349450e-03  2.20220200e-02 -4.16494865e-03 -7.65584660e-05\n",
      "    2.26915835e-03]\n",
      "  [ 1.91195569e-03 -4.16494865e-03  2.09037701e-02 -5.14726317e-03\n",
      "   -8.28625148e-04]\n",
      "  [-1.81138213e-03 -7.65584660e-05 -5.14726317e-03  1.10541633e-02\n",
      "    2.26058738e-03]\n",
      "  [ 8.63441084e-04  2.26915835e-03 -8.28625148e-04  2.26058738e-03\n",
      "    4.37191789e-03]]\n",
      "\n",
      " [[ 1.40374124e-02  1.32288230e-03  4.42672888e-03 -1.61927780e-03\n",
      "   -1.13303608e-03]\n",
      "  [ 1.32288230e-03  2.32855315e-02 -1.09019825e-03 -5.36750815e-04\n",
      "   -5.95289958e-04]\n",
      "  [ 4.42672888e-03 -1.09019825e-03  1.07360182e-02  2.25232942e-03\n",
      "    1.39811667e-04]\n",
      "  [-1.61927780e-03 -5.36750815e-04  2.25232942e-03  7.52284372e-03\n",
      "    1.70928883e-03]\n",
      "  [-1.13303608e-03 -5.95289958e-04  1.39811667e-04  1.70928883e-03\n",
      "    3.15019644e-03]]\n",
      "\n",
      " [[ 4.68294074e-03 -4.17441056e-04 -9.07578419e-04 -4.84914751e-04\n",
      "   -1.28124558e-03]\n",
      "  [-4.17441056e-04  6.42834637e-03  1.79051166e-03 -1.58492625e-04\n",
      "   -1.86215837e-04]\n",
      "  [-9.07578419e-04  1.79051166e-03  7.20034337e-03 -2.30318587e-04\n",
      "   -1.35509766e-04]\n",
      "  [-4.84914751e-04 -1.58492625e-04 -2.30318587e-04  1.72765689e-03\n",
      "    1.15014748e-04]\n",
      "  [-1.28124558e-03 -1.86215837e-04 -1.35509766e-04  1.15014748e-04\n",
      "    1.20339463e-03]]\n",
      "\n",
      " [[ 1.48973829e-02 -6.99948841e-03 -4.25191711e-04  1.58272656e-03\n",
      "   -1.51136476e-03]\n",
      "  [-6.99948841e-03  3.08681261e-02 -1.18584429e-03  2.13484767e-03\n",
      "   -7.04190376e-04]\n",
      "  [-4.25191711e-04 -1.18584429e-03  1.34383119e-02 -2.53866962e-03\n",
      "    1.33916898e-03]\n",
      "  [ 1.58272656e-03  2.13484767e-03 -2.53866962e-03  1.51939788e-02\n",
      "   -1.44836306e-03]\n",
      "  [-1.51136476e-03 -7.04190376e-04  1.33916898e-03 -1.44836306e-03\n",
      "    3.47143815e-03]]\n",
      "\n",
      " [[ 1.43747321e-02 -9.72905249e-03 -1.43061551e-03  7.53910642e-04\n",
      "    2.03417232e-03]\n",
      "  [-9.72905249e-03  3.81917396e-02  4.98187431e-03 -1.35241375e-04\n",
      "    8.38070107e-05]\n",
      "  [-1.43061551e-03  4.98187431e-03  1.36406575e-02  3.41742879e-03\n",
      "    1.37918066e-03]\n",
      "  [ 7.53910642e-04 -1.35241375e-04  3.41742879e-03  1.03418335e-02\n",
      "    2.68845521e-03]\n",
      "  [ 2.03417232e-03  8.38070107e-05  1.37918066e-03  2.68845521e-03\n",
      "    6.34954263e-03]]\n",
      "\n",
      " [[ 8.37407882e-03 -2.47104380e-03  1.24658176e-03 -6.18325342e-04\n",
      "    5.68724575e-04]\n",
      "  [-2.47104380e-03  2.30845550e-02 -8.76944538e-03 -1.77346190e-03\n",
      "   -1.78248082e-03]\n",
      "  [ 1.24658176e-03 -8.76944538e-03  1.32547687e-02 -9.01042441e-04\n",
      "    2.17479244e-03]\n",
      "  [-6.18325342e-04 -1.77346190e-03 -9.01042441e-04  7.83578838e-03\n",
      "   -1.72835073e-03]\n",
      "  [ 5.68724575e-04 -1.78248082e-03  2.17479244e-03 -1.72835073e-03\n",
      "    3.30386436e-03]]\n",
      "\n",
      " [[ 1.06377575e-02 -5.58677768e-03  1.18207821e-03 -3.81184958e-03\n",
      "    3.19827429e-03]\n",
      "  [-5.58677768e-03  1.83389291e-02 -1.45488521e-03 -5.62018162e-04\n",
      "    4.82688943e-04]\n",
      "  [ 1.18207821e-03 -1.45488521e-03  1.50675573e-02 -1.58821669e-03\n",
      "    4.41084749e-05]\n",
      "  [-3.81184958e-03 -5.62018162e-04 -1.58821669e-03  1.00563917e-02\n",
      "   -1.24858427e-03]\n",
      "  [ 3.19827429e-03  4.82688943e-04  4.41084749e-05 -1.24858427e-03\n",
      "    3.19788599e-03]]\n",
      "\n",
      " [[ 1.50230740e-03 -5.24102979e-04  1.29537945e-04 -2.47904688e-05\n",
      "   -4.24530686e-05]\n",
      "  [-5.24102979e-04  4.36589592e-03  2.36624358e-04  5.01604957e-05\n",
      "   -2.30022887e-04]\n",
      "  [ 1.29537945e-04  2.36624358e-04  2.31485749e-03 -3.76135199e-05\n",
      "    1.40429729e-04]\n",
      "  [-2.47904688e-05  5.01604957e-05 -3.76135199e-05  1.17264610e-03\n",
      "    9.83254861e-05]\n",
      "  [-4.24530686e-05 -2.30022887e-04  1.40429729e-04  9.83254861e-05\n",
      "    5.39560640e-04]]\n",
      "\n",
      " [[ 1.89536536e-02 -3.83733495e-03 -6.14771732e-03  8.56182955e-04\n",
      "   -1.04400409e-03]\n",
      "  [-3.83733495e-03  9.80580215e-02  9.44989439e-03 -2.33239805e-03\n",
      "    1.40200836e-03]\n",
      "  [-6.14771732e-03  9.44989439e-03  6.98447704e-02 -3.81897225e-03\n",
      "    4.63230485e-03]\n",
      "  [ 8.56182955e-04 -2.33239805e-03 -3.81897225e-03  1.12338428e-02\n",
      "   -1.58401701e-03]\n",
      "  [-1.04400409e-03  1.40200836e-03  4.63230485e-03 -1.58401701e-03\n",
      "    5.03655045e-03]]\n",
      "\n",
      " [[ 3.82587611e-02  7.19842642e-03 -1.33909495e-02  1.68510576e-03\n",
      "    4.16382201e-03]\n",
      "  [ 7.19842642e-03  1.38621235e-01 -7.44279435e-03  1.08853653e-02\n",
      "    2.08980218e-03]\n",
      "  [-1.33909495e-02 -7.44279435e-03  6.25181347e-02  2.60945121e-03\n",
      "   -4.42070968e-03]\n",
      "  [ 1.68510576e-03  1.08853653e-02  2.60945121e-03  2.03607016e-02\n",
      "    6.37514319e-04]\n",
      "  [ 4.16382201e-03  2.08980218e-03 -4.42070968e-03  6.37514319e-04\n",
      "    6.94990379e-03]]\n",
      "\n",
      " [[ 5.84716495e-02  9.49133792e-03  1.42029851e-02 -1.85462782e-02\n",
      "   -3.44602211e-03]\n",
      "  [ 9.49133792e-03  1.67787250e-01  5.69428726e-02 -1.52276220e-02\n",
      "    3.52936230e-04]\n",
      "  [ 1.42029851e-02  5.69428726e-02  1.97433610e-01 -3.63406953e-02\n",
      "    2.98270922e-03]\n",
      "  [-1.85462782e-02 -1.52276220e-02 -3.63406953e-02  5.75605750e-02\n",
      "    8.86606935e-03]\n",
      "  [-3.44602211e-03  3.52936230e-04  2.98270922e-03  8.86606935e-03\n",
      "    2.19104018e-02]]\n",
      "\n",
      " [[ 2.78311548e-02 -5.26183647e-03 -7.64724749e-04  8.46182942e-03\n",
      "    8.74612500e-04]\n",
      "  [-5.26183647e-03  6.37389867e-02  1.33454495e-02 -5.47245456e-04\n",
      "   -4.76454910e-03]\n",
      "  [-7.64724749e-04  1.33454495e-02  7.13512697e-02 -5.59320691e-03\n",
      "    1.07722043e-03]\n",
      "  [ 8.46182942e-03 -5.47245456e-04 -5.59320691e-03  2.20218418e-02\n",
      "   -1.54087024e-03]\n",
      "  [ 8.74612500e-04 -4.76454910e-03  1.07722043e-03 -1.54087024e-03\n",
      "    9.52604675e-03]]\n",
      "\n",
      " [[ 3.03640532e-02 -1.90571656e-02 -1.03401242e-03 -4.37081545e-04\n",
      "   -2.44563237e-03]\n",
      "  [-1.90571656e-02  9.49349145e-02  1.33690629e-02 -2.42084343e-02\n",
      "    5.25970965e-03]\n",
      "  [-1.03401242e-03  1.33690629e-02  2.02122790e-02 -1.93497032e-03\n",
      "    3.11303758e-03]\n",
      "  [-4.37081545e-04 -2.42084343e-02 -1.93497032e-03  2.53742383e-02\n",
      "    4.05592661e-04]\n",
      "  [-2.44563237e-03  5.25970965e-03  3.11303758e-03  4.05592661e-04\n",
      "    1.40641418e-02]]\n",
      "\n",
      " [[ 2.06253179e-02 -3.23777888e-03 -1.59331714e-02 -6.21497771e-04\n",
      "    1.89520732e-03]\n",
      "  [-3.23777888e-03  5.73455763e-02 -1.31491822e-03  9.28490243e-03\n",
      "    2.92667887e-03]\n",
      "  [-1.59331714e-02 -1.31491822e-03  5.15549775e-02 -3.28364092e-03\n",
      "   -2.18838628e-03]\n",
      "  [-6.21497771e-04  9.28490243e-03 -3.28364092e-03  4.43197177e-02\n",
      "   -1.51959859e-03]\n",
      "  [ 1.89520732e-03  2.92667887e-03 -2.18838628e-03 -1.51959859e-03\n",
      "    1.19065545e-02]]\n",
      "\n",
      " [[ 3.15735248e-02  1.65374280e-02  8.49971079e-03  1.23221393e-02\n",
      "    3.94293339e-03]\n",
      "  [ 1.65374280e-02  6.18604321e-02 -1.62344627e-02  2.05458906e-02\n",
      "    8.47309596e-04]\n",
      "  [ 8.49971079e-03 -1.62344627e-02  7.11662275e-02 -7.68252242e-04\n",
      "    8.35528114e-03]\n",
      "  [ 1.23221393e-02  2.05458906e-02 -7.68252242e-04  4.43369663e-02\n",
      "    2.44131890e-03]\n",
      "  [ 3.94293339e-03  8.47309596e-04  8.35528114e-03  2.44131890e-03\n",
      "    1.47920767e-02]]\n",
      "\n",
      " [[ 7.87277328e-03 -4.03043408e-03 -8.63345842e-04  8.79194428e-04\n",
      "    1.78089356e-03]\n",
      "  [-4.03043408e-03  5.98561309e-02 -4.03759799e-03 -1.42285418e-03\n",
      "   -1.03133826e-02]\n",
      "  [-8.63345842e-04 -4.03759799e-03  1.26289582e-02  2.19968070e-03\n",
      "   -7.60010245e-04]\n",
      "  [ 8.79194428e-04 -1.42285418e-03  2.19968070e-03  8.40019504e-03\n",
      "   -1.42075834e-03]\n",
      "  [ 1.78089356e-03 -1.03133826e-02 -7.60010245e-04 -1.42075834e-03\n",
      "    8.88818659e-03]]\n",
      "\n",
      " [[ 9.17494210e-03 -1.07305919e-03 -3.58961979e-04  2.16456158e-03\n",
      "   -2.50769122e-04]\n",
      "  [-1.07305919e-03  4.74579518e-02  3.73223031e-03 -4.06791889e-03\n",
      "    3.94599501e-03]\n",
      "  [-3.58961979e-04  3.73223031e-03  1.46952806e-02 -3.61181436e-03\n",
      "    7.15316746e-04]\n",
      "  [ 2.16456158e-03 -4.06791889e-03 -3.61181436e-03  4.81819815e-03\n",
      "   -1.39105481e-03]\n",
      "  [-2.50769122e-04  3.94599501e-03  7.15316746e-04 -1.39105481e-03\n",
      "    2.96810482e-03]]\n",
      "\n",
      " [[ 5.03345447e-03 -2.99961734e-03 -2.13409137e-03  1.14897539e-04\n",
      "    7.23147467e-04]\n",
      "  [-2.99961734e-03  1.28896243e-02  3.82442506e-03 -3.05837881e-03\n",
      "   -4.03979244e-04]\n",
      "  [-2.13409137e-03  3.82442506e-03  6.30307050e-03 -1.36157276e-03\n",
      "    6.07819696e-04]\n",
      "  [ 1.14897539e-04 -3.05837881e-03 -1.36157276e-03  3.29140616e-03\n",
      "    2.92728656e-04]\n",
      "  [ 7.23147467e-04 -4.03979244e-04  6.07819696e-04  2.92728656e-04\n",
      "    1.16899217e-03]]\n",
      "\n",
      " [[ 1.36710601e-03 -4.37710297e-04  1.48201189e-04  6.87106848e-05\n",
      "    2.68386665e-05]\n",
      "  [-4.37710297e-04  5.59675853e-03  3.48252508e-04  1.75034993e-05\n",
      "   -3.26381297e-04]\n",
      "  [ 1.48201189e-04  3.48252508e-04  2.06709478e-03 -7.63767588e-05\n",
      "   -3.85014242e-04]\n",
      "  [ 6.87106848e-05  1.75034993e-05 -7.63767588e-05  2.89480920e-04\n",
      "    7.75155362e-06]\n",
      "  [ 2.68386665e-05 -3.26381297e-04 -3.85014242e-04  7.75155362e-06\n",
      "    3.28782010e-04]]\n",
      "\n",
      " [[ 8.50365942e-03  1.86762499e-03  2.87895069e-03 -9.19922192e-04\n",
      "   -3.08221119e-03]\n",
      "  [ 1.86762499e-03  1.39543644e-02 -5.61467210e-04 -3.03207287e-03\n",
      "    5.07388123e-04]\n",
      "  [ 2.87895069e-03 -5.61467210e-04  1.43063844e-02  4.37556356e-03\n",
      "    1.13823244e-03]\n",
      "  [-9.19922192e-04 -3.03207287e-03  4.37556356e-03  8.43531269e-03\n",
      "    2.00588513e-03]\n",
      "  [-3.08221119e-03  5.07388123e-04  1.13823244e-03  2.00588513e-03\n",
      "    3.40392650e-03]]\n",
      "\n",
      " [[ 2.38625679e-02  5.39565135e-03 -7.20498760e-03 -3.62504289e-03\n",
      "   -1.95480240e-03]\n",
      "  [ 5.39565135e-03  1.26308391e-02 -4.17611730e-03  2.88250759e-03\n",
      "   -6.59198112e-04]\n",
      "  [-7.20498760e-03 -4.17611730e-03  1.21139926e-02  3.40519239e-04\n",
      "    2.93133536e-03]\n",
      "  [-3.62504289e-03  2.88250759e-03  3.40519239e-04  1.40064390e-02\n",
      "    3.93001513e-03]\n",
      "  [-1.95480240e-03 -6.59198112e-04  2.93133536e-03  3.93001513e-03\n",
      "    4.62652619e-03]]\n",
      "\n",
      " [[ 2.20069964e-02  3.94575930e-03 -1.95448476e-03 -1.13008201e-03\n",
      "   -3.91580993e-03]\n",
      "  [ 3.94575930e-03  1.81249521e-02  1.33049440e-05  1.81714310e-03\n",
      "   -1.48613450e-03]\n",
      "  [-1.95448476e-03  1.33049440e-05  1.07884860e-02 -2.24336578e-03\n",
      "    1.93176239e-03]\n",
      "  [-1.13008201e-03  1.81714310e-03 -2.24336578e-03  4.78027601e-03\n",
      "   -3.38522791e-04]\n",
      "  [-3.91580993e-03 -1.48613450e-03  1.93176239e-03 -3.38522791e-04\n",
      "    3.68894659e-03]]]\n"
     ]
    }
   ],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "source": [],
   "outputs": [],
   "metadata": {}
  }
 ],
 "metadata": {
  "orig_nbformat": 4,
  "language_info": {
   "name": "python",
   "version": "3.8.5",
   "mimetype": "text/x-python",
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "pygments_lexer": "ipython3",
   "nbconvert_exporter": "python",
   "file_extension": ".py"
  },
  "kernelspec": {
   "name": "python3",
   "display_name": "Python 3.8.5 64-bit ('base': conda)"
  },
  "interpreter": {
   "hash": "8ab0d968002a578cf1e1aa041721a175249ba338f6da29efa5ef1a380c630376"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}